<?php

namespace app\admin\controller\api;

use app\common\controller\Backend;

class User extends Backend
{

    public function profile()
    {
        $user = $this->auth->getUserInfo();
        //$this->success('', null, $user);
        return json($user);
    }

}
